//
//  ViewController.h
//  quanmei
//
//  Created by apple on 14/12/23.
//  Copyright (c) 2014年 apple. All rights reserved.
//
// 所有控制器的父类控制器

#import <UIKit/UIKit.h>

@interface BaseViewController : UIViewController

/** 顶部导航条 */
@property (nonatomic, strong) UIImageView *navigationBar;

/** 设置导航条颜色 */
@property (nonatomic, copy) UIColor *navColor;

/** 设置导航条颜色 */
@property (nonatomic, copy) UIImage *navImage;

/** 设置导航条显示隐藏 */
@property (nonatomic, assign) BOOL navHidden;

/** 设置底部选项卡显示隐藏 */
@property (nonatomic,assign) BOOL tabarHiend;

/** 设置返回按钮 */
- (void)setBackButton;

/** 设置左侧按钮 */
- (UIButton*)setLeftButtonWithTitle:(NSString*)title action:(SEL)action;
/** 设置左侧按钮 */
- (UIButton*)setLeftButtonWithImageName:(NSString*)imageName action:(SEL)action;
/** 设置右侧按钮 */
- (UIButton*)setRightButtonWithTitle:(NSString*)title action:(SEL)action;
/** 设置右侧按钮 */
- (UIButton*)setRightButtonWithImageName:(NSString*)imageName action:(SEL)action;

@end
